home *** CD-ROM | disk | FTP | other *** search
- Path: centre.univ-orleans.fr!desiree!emmguyot
- From: emmguyot@desiree.univ-orleans.fr (Emmanuel GUYOT)
- Newsgroups: comp.lang.c++
- Subject: Re: Request Help with Borland C++ 4.0
- Date: 12 Jan 1996 16:14:37 GMT
- Organization: CITU - Universite d'Orleans - FRANCE
- Message-ID: <4d61dd$dvb@centre.univ-orleans.fr>
- References: <Pine.BSD/.3.91.960112094150.10777A-100000@daffy.bgcc.com>
- NNTP-Posting-Host: desiree.cnrs-orleans.fr
- X-Newsreader: TIN [version 1.2 PL2]
-
- Donald C. Bennett, Jr (bennett@bgcc.com) wrote:
- : Help!!
-
- : When I build my project files I receive the following linker
- : error:
-
- : Linking stream.exe:
- : Linker Warning: No module definition file specified: using defaults
- : Linker Error: Undefined symbol OwlMain(int,charfar*far*) in library file
- : F:\BC4\LIB\owlwi.lib in module winmain
-
- : I am not concerned with the warning but I cannot solve the error
- : problem. Drive F: is the CDROM so I could not have currupted the file.
-
- : If I build this exe as a project I receive the same error referring to an
- : undefined WinMain. Please help.
- : Don
-
-
- First verify that you have specified the right target (Dos or Windows)
- If you really meant to build a Windows application :
-
- - In the case you want to use OWL library, the main entry point is
- OwlMain. It has the same arguments as main does in a Dos C program.
- - If you don't want to use OWL library, uncheck the Owl button in
- the Target Expert dialog box. Now the main entry point is
- WinMain with some complex arguments.
-
- Anyway, you have to define one of the following 3 entry points :
-
- main, (Dos C program)
- WinMain (Windows program without OWL)
- OwlMain (Windows program with OWL)
-
- E.G.
-
- ------------------------------------------------------------------------------
- ---------------------------->>>> Emmanuel Guyot <<<<--------------------------
- LPCE-CNRS |
- 3A avenue de la Recherche Scientifique | Phone : 33 38 51 78 25
- 45071 Orleans Cedex 2 | Fax : 33 38 63 12 34
- France | EMail : emmguyot@cnrs-orleans.fr
- ------------------------------------------------------------------------------
- Home Page : http://desiree.cnrs-orleans.fr/cgi-bin/cpt_html?index
- ------------------------------------------------------------------------------
-